package field_method04;

public class Person {
    private String name;
    private  String sex;
    private  int age;

    public Person() {
    }

    public Person(String name, String sex, int age){
        this.name=name;
        this.sex=sex;
        this.age=age;
    }
    public String toString(){
        return "姓名："+name+",性别："+sex+",年龄："+age;

    }
}
